package com.city.action;

import java.util.List;

import com.city.dto.City;
import com.city.service.CityService;
import com.opensymphony.xwork2.ActionSupport;

public class CityAction extends ActionSupport {
 
	private CityService service = new CityService();

	private List list;
	
	private City city;
	
	
	public String list(){
		list = service.getList();
		return "list";
	}

	public List getList() {
		return list;
	}

	public void setList(List list) {
		this.list = list;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}
	
	
	
	
}
